import {NgModule} from '@angular/core';
import {CommonModule} from '@angular/common';
import {InputRangeAlainComponent} from './input-range-alain.component';
import {DelonFormModule, WidgetRegistry} from '@delon/form';
import {BaseInputRangeModule} from '@sb/base/input-range';
import {FormsModule} from '@angular/forms';


@NgModule({
    declarations: [
        InputRangeAlainComponent
    ],
    imports: [
        CommonModule,
        DelonFormModule,
        BaseInputRangeModule,
        FormsModule,
    ],
    exports: [
        InputRangeAlainComponent
    ],
    entryComponents: [
        InputRangeAlainComponent
    ]
})
export class InputRangeAlainModule {
    constructor(widgetRegistry: WidgetRegistry) {
        widgetRegistry.register(InputRangeAlainComponent.KEY, InputRangeAlainComponent);
    }
}
